/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Ventanas;

/**
 *
 * @author Chejo
 */
public class PnlAjustesServidor extends javax.swing.JPanel {

    /**
     * Creates new form PnlAjustesServidor
     */
    public PnlAjustesServidor() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        java.awt.GridBagConstraints gridBagConstraints;

        pnlTitulo = new javax.swing.JPanel();
        lblTitulo = new javax.swing.JLabel();
        pnlContenido = new javax.swing.JPanel();
        lblNombreServidor = new javax.swing.JLabel();
        lblNombreUsuario = new javax.swing.JLabel();
        lblPassword = new javax.swing.JLabel();
        lblNombreBaseDatos = new javax.swing.JLabel();
        txtServidor = new javax.swing.JTextField();
        txtUsuario = new javax.swing.JTextField();
        txtPassword = new javax.swing.JTextField();
        txtBaseDatos = new javax.swing.JTextField();
        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();

        setMaximumSize(new java.awt.Dimension(640, 500));
        setMinimumSize(new java.awt.Dimension(640, 500));
        setPreferredSize(new java.awt.Dimension(640, 500));
        setLayout(new javax.swing.BoxLayout(this, javax.swing.BoxLayout.Y_AXIS));

        pnlTitulo.setBackground(new java.awt.Color(54, 149, 240));
        pnlTitulo.setMaximumSize(new java.awt.Dimension(640, 50));
        pnlTitulo.setMinimumSize(new java.awt.Dimension(640, 50));
        pnlTitulo.setPreferredSize(new java.awt.Dimension(640, 50));
        pnlTitulo.setLayout(new java.awt.CardLayout());

        lblTitulo.setFont(new java.awt.Font("Arial", 1, 18)); // NOI18N
        lblTitulo.setForeground(new java.awt.Color(255, 255, 255));
        lblTitulo.setText("   Ajustes de la base de datos");
        pnlTitulo.add(lblTitulo, "card2");

        add(pnlTitulo);

        pnlContenido.setBackground(new java.awt.Color(255, 255, 255));
        pnlContenido.setLayout(new java.awt.GridBagLayout());

        lblNombreServidor.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
        lblNombreServidor.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        lblNombreServidor.setText("Nombre del servidor:");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.insets = new java.awt.Insets(10, 0, 10, 0);
        pnlContenido.add(lblNombreServidor, gridBagConstraints);

        lblNombreUsuario.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
        lblNombreUsuario.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        lblNombreUsuario.setText("Nombre de usuario:");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 1;
        gridBagConstraints.insets = new java.awt.Insets(10, 0, 10, 0);
        pnlContenido.add(lblNombreUsuario, gridBagConstraints);

        lblPassword.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
        lblPassword.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        lblPassword.setText("Contraseña:");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.insets = new java.awt.Insets(10, 0, 10, 0);
        pnlContenido.add(lblPassword, gridBagConstraints);

        lblNombreBaseDatos.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
        lblNombreBaseDatos.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        lblNombreBaseDatos.setText("Nombre de la base de datos:");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 3;
        gridBagConstraints.insets = new java.awt.Insets(10, 0, 10, 0);
        pnlContenido.add(lblNombreBaseDatos, gridBagConstraints);

        txtServidor.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
        txtServidor.setMaximumSize(new java.awt.Dimension(220, 28));
        txtServidor.setMinimumSize(new java.awt.Dimension(220, 28));
        txtServidor.setPreferredSize(new java.awt.Dimension(220, 28));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 0;
        pnlContenido.add(txtServidor, gridBagConstraints);

        txtUsuario.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
        txtUsuario.setMaximumSize(new java.awt.Dimension(220, 28));
        txtUsuario.setMinimumSize(new java.awt.Dimension(220, 28));
        txtUsuario.setPreferredSize(new java.awt.Dimension(220, 28));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 1;
        pnlContenido.add(txtUsuario, gridBagConstraints);

        txtPassword.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
        txtPassword.setMaximumSize(new java.awt.Dimension(220, 28));
        txtPassword.setMinimumSize(new java.awt.Dimension(220, 28));
        txtPassword.setPreferredSize(new java.awt.Dimension(220, 28));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 2;
        pnlContenido.add(txtPassword, gridBagConstraints);

        txtBaseDatos.setFont(new java.awt.Font("Arial", 0, 14)); // NOI18N
        txtBaseDatos.setMaximumSize(new java.awt.Dimension(220, 28));
        txtBaseDatos.setMinimumSize(new java.awt.Dimension(220, 28));
        txtBaseDatos.setPreferredSize(new java.awt.Dimension(220, 28));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 3;
        pnlContenido.add(txtBaseDatos, gridBagConstraints);

        jButton1.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
        jButton1.setText("Aceptar");
        jButton1.setMaximumSize(new java.awt.Dimension(100, 60));
        jButton1.setMinimumSize(new java.awt.Dimension(100, 60));
        jButton1.setPreferredSize(new java.awt.Dimension(100, 60));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
        gridBagConstraints.insets = new java.awt.Insets(15, 0, 0, 3);
        pnlContenido.add(jButton1, gridBagConstraints);

        jButton2.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
        jButton2.setText("Cancelar");
        jButton2.setMaximumSize(new java.awt.Dimension(100, 60));
        jButton2.setMinimumSize(new java.awt.Dimension(100, 60));
        jButton2.setPreferredSize(new java.awt.Dimension(100, 60));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.insets = new java.awt.Insets(15, 3, 0, 0);
        pnlContenido.add(jButton2, gridBagConstraints);

        add(pnlContenido);
    }// </editor-fold>//GEN-END:initComponents

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JLabel lblNombreBaseDatos;
    private javax.swing.JLabel lblNombreServidor;
    private javax.swing.JLabel lblNombreUsuario;
    private javax.swing.JLabel lblPassword;
    private javax.swing.JLabel lblTitulo;
    private javax.swing.JPanel pnlContenido;
    private javax.swing.JPanel pnlTitulo;
    private javax.swing.JTextField txtBaseDatos;
    private javax.swing.JTextField txtPassword;
    private javax.swing.JTextField txtServidor;
    private javax.swing.JTextField txtUsuario;
    // End of variables declaration//GEN-END:variables
}
